import { IWidget, IOption, EnumProperty } from "xcore/cmpnt";

var IconSelect: IWidget & IOption = {
  cmpnt: "x-icon-select",
  valueKey: "icon",
  category: "bars",
  props: {
    multiple: false,
    clearable: true,
    filterable: true,
    placeholder: "请选择图标",
    style: { width: "100%" },
    class: [],
    bind: { properties: [EnumProperty.Removed] },
    options: [
      { "label": "Plus", "value": "Plus" },
      { "label": "Minus", "value": "Minus" },
      { "label": "CirclePlus", "value": "CirclePlus" },
      { "label": "Search", "value": "Search" },
      { "label": "House", "value": "House" },
      { "label": "Link", "value": "Link" },
      { "label": "FullScreen", "value": "FullScreen" },
      { "label": "Star", "value": "Star" },
      { "label": "Connection", "value": "Connection" },
      { "label": "ChatDotRound", "value": "ChatDotRound" },
      { "label": "Notification", "value": "Notification" },
      { "label": "Setting", "value": "Setting" },
      { "label": "Clock", "value": "Clock" },
      { "label": "Position", "value": "Position" },
      { "label": "ChatSquare", "value": "ChatSquare" },
      { "label": "ChatLineRound", "value": "ChatLineRound" },
      { "label": "View", "value": "View" },
      { "label": "Hide", "value": "Hide" },
      { "label": "Unlock", "value": "Unlock" },
      { "label": "Lock", "value": "Lock" },
      { "label": "RefreshRight", "value": "RefreshRight" },
      { "label": "RefreshLeft", "value": "RefreshLeft" },
      { "label": "Refresh", "value": "Refresh" },
      { "label": "Bell", "value": "Bell" },
      { "label": "MuteNotification", "value": "MuteNotification" },
      { "label": "User", "value": "User" },
      { "label": "CircleCheck", "value": "CircleCheck" },
      { "label": "Warning", "value": "Warning" },
      { "label": "CircleClose", "value": "CircleClose" },
      { "label": "Close", "value": "Close" },
      { "label": "PieChart", "value": "PieChart" },
      { "label": "More", "value": "More" },
      { "label": "Compass", "value": "Compass" },
      { "label": "Switch", "value": "Switch" },
      { "label": "Select", "value": "Select" },
      { "label": "SemiSelect", "value": "SemiSelect" },
      { "label": "CloseBold", "value": "CloseBold" },
      { "label": "EditPen", "value": "EditPen" },
      { "label": "Edit", "value": "Edit" },
      { "label": "Message", "value": "Message" },
      { "label": "TurnOff", "value": "TurnOff" },
      { "label": "Delete", "value": "Delete" }
    ],
  },
  events: {},
  ctl: {
    icon: "iconfont te-i-select",
    name: "IconSelect",
    group: "bars",
    text: "图标选择",
  },
};
export { IconSelect };
